package com.example.cr.insect.mapper;

import com.example.cr.insect.entity.PreventionLog;
import com.example.cr.insect.entity.PreventionLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PreventionLogMapper {
    long countByExample(PreventionLogExample example);

    int deleteByExample(PreventionLogExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PreventionLog row);

    int insertSelective(PreventionLog row);

    List<PreventionLog> selectByExample(PreventionLogExample example);

    PreventionLog selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") PreventionLog row, @Param("example") PreventionLogExample example);

    int updateByExample(@Param("row") PreventionLog row, @Param("example") PreventionLogExample example);

    int updateByPrimaryKeySelective(PreventionLog row);

    int updateByPrimaryKey(PreventionLog row);
}